$OpenBSD: patch-libraries_base_GHC_IO_Encoding_hs,v 1.4 2015/09/19 07:42:57 kili Exp $
--- libraries/base/GHC/IO/Encoding.hs.orig	Tue Jul 21 21:50:11 2015
+++ libraries/base/GHC/IO/Encoding.hs	Sun Aug  9 17:35:52 2015
@@ -101,7 +101,9 @@ utf32le = UTF32.utf32le
 utf32be  :: TextEncoding
 utf32be = UTF32.utf32be
 
--- | The Unicode encoding of the current locale
+-- | The Unicode encoding of the current locale. On OpenBSD this is set
+-- to the value of the environment variable 'HS_ENCODING' or to 'latin1'
+-- if that variable isn't set.
 --
 -- @since 4.5.0.0
 getLocaleEncoding :: IO TextEncoding
